package tw.com.softleader.reins.demo.exam.dao;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import tw.com.softleader.reins.demo.exam.entity.Exam;
import tw.com.softleader.reins.test.BaseTest;

public class ExamDaoTest3 extends BaseTest {
	@Autowired
	private ExamDao examDao;
	@Test
	public void testInsert() {
		Exam exam = new Exam();
		exam.setName("Math");
		exam.setDifficulty(9l);
		exam.setItemLength(30l);
		exam.setTime(90l);
		System.out.println(examDao.insert(exam));
				
	}

}
